# encoding: utf-8

import requests
# api = "http://localhost:10054/predict/stock-price"
api = "https://9cab9b6.r12.cpolar.top/predict/stock-price"

data = {
    "days": 5,
    "history": [10.7, 10.64, 10.72, 10.99, 10.88, 11.06, 10.66, 10.91, 10.74, 11.08]
}

response = requests.post(url=api, json=data)
print(response.text)
